import React from 'react';
import {Route, IndexRoute} from 'react-router';
import App from '../container/App';

import Home from '../component/Home';
import Counter from '../component/Counter';

export default () => {
    return (
        <Route path="/" component={App}>
			{/* route 放这里 */}
			<IndexRoute component={Home}/>
            <Route path="/counter" component={Counter}/>
		</Route>
    );
};
			